#include "problems/7.h"
#include "gtest/gtest.h"
#include <cstdint>

using namespace std;

TEST(TestProblemSolutions, TestProblem7)
{
    problem_7::Solution s;
    ASSERT_EQ(s.reverse(123), 321);
    ASSERT_EQ(s.reverse(-123), -321);
    ASSERT_EQ(s.reverse(120), 21);
    ASSERT_EQ(s.reverse(INT32_MAX), 0);
    ASSERT_EQ(s.reverse(INT32_MIN), 0);
}